package com.hdoit.ares.web.official.officialControllers;
import org.springframework.stereotype.Controller;
import org.springframework.ui.Model;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RequestMethod;

import com.tennetcn.component.web.BaseController;

/**
 * @author      yujinhui
 * @email       
 * @createtime  2018年01月08日 17:13:21
 * @comment
 */
@Controller
@RequestMapping(value = "/official/index/")
public class OfficialController extends BaseController{
    @Override
    public String getRoutePath() {
        return "areas/official/index/";
    }

 

    private final String indexViewName="index";
   

    @RequestMapping(value = indexViewName, method = { RequestMethod.GET,RequestMethod.POST })
    public String index(Model model){
        return view(indexViewName);
    }
    
    
}